// import passwordMod from '@/uni_modules/uni-id-pages/common/password.js'

export default {
	computed: {
		rules() {
			return {
				"mobile": {
					"rules": [{
						required: true,
						errorMessage: ('请输入手机号码'),
					}, {
						format: 'string',
						errorMessage: ('手机号码格式错误123'),
					}]
				},
				"code": {
					"rules": [{
							required: true,
							errorMessage: ('请输入短信验证码'),
						},
						{
							pattern: /^.{6}$/,
							errorMessage: this.$w('无效的验证码'),
						}
					]
				},
				// ...passwordMod.getPwdRules()
			}
		}
	}
}